<template>
 <div>
    <Row class="expand-row">
        <Col span="8">
            <span class="expand-key">短信验证码(次数/金额): </span>
            <span class="expand-value">{{row.sms ? row.sms : 0 }} / {{ toYuan(row.sms_money)}} 元</span>
        </Col>
        <Col span="8">
            <span class="expand-key">活体(次数/金额): </span>
            <span class="expand-value">{{row.live ? row.live : 0 }} / {{toYuan(row.live_money)}} 元</span>
        </Col>
        <Col span="8">
            <span class="expand-key">手机三要素(次数/金额): </span>
            <span class="expand-value">{{row.live ? row.live : 0 }} / {{toYuan(row.live_money)}} 元</span>
        </Col>
    </Row>
    <Row class="expand-row">
        <Col span="8">
            <span class="expand-key">银行卡(次数/金额): </span>
            <span class="expand-value">{{row.bank ? row.bank : 0 }} / {{ toYuan(row.bank_money)}} 元</span>
        </Col>
        <Col span="8">
            <span class="expand-key">运营商(次数/金额): </span>
            <span class="expand-value">{{row.carrier ? row.carrier : 0 }} / {{toYuan(row.carrier_money)}} 元</span>
        </Col>
        <Col span="8">
            <span class="expand-key">淘宝(次数/金额): </span>
            <span class="expand-value">{{row.tb ? row.tb : 0 }} / {{ toYuan(row.tb_money)}} 元</span>
        </Col>

    </Row>
    <Row>
      <Col span="8">
          <span class="expand-key">风控(次数/金额): </span>
          <span class="expand-value">{{row.loan ? row.loan : 0 }} / {{ toYuan(row.loan_money)}} 元</span>
      </Col>
  </Row>

    </div>
</template>

<script>
export default {
   props: {
            row: Object
        },
  data() {
    return {

    }
  },
  components: {

  },
  methods: {
    toYuan(money){
      if(money){
        return (money/100).toFixed(2)
      }else{
        return 0
      }
    },
  },
}
</script>

<style scoped >
 .expand-row{
        margin-bottom: 15px;
    }
  .expand-key{
    /* font-weight: 600 */
  }

</style>
